damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

EmptyTimelineView.swift (705B)


      1 //
      2 //  EmptyNotificationsView.swift
      3 //  damus
      4 //
      5 //  Created by Sam DuBois on 12/17/22.
      6 //
      7 
      8 import SwiftUI
      9 
     10 struct EmptyTimelineView: View {
     11     var body: some View {
     12         VStack {
     13             Image("question")
     14                 .font(.system(size: 35))
     15                 .padding()
     16             Text("Nothing to see here. Check back later!", comment: "Indicates that there are no notes in the timeline to view.")
     17                 .multilineTextAlignment(.center)
     18                 .font(.callout.weight(.medium))
     19         }
     20         .foregroundColor(.gray)
     21         .padding()
     22     }
     23 }
     24 
     25 struct EmptyTimelineView_Previews: PreviewProvider {
     26     static var previews: some View {
     27         EmptyTimelineView()
     28     }
     29 }